﻿using System;
using System.Collections.Generic;

namespace Research.Model
{

    public class MRprjMain
    {
        public int RprjID { get; set; }
        public string RprjNum { get; set; }
        public string RprjName { get; set; }
        public int RprjPlatformID { get; set; }
        public int RprjRoleID { get; set; }
        public List<MRprjChargePer> ChargePers { get; set; }
        public List<MRprjDep> Deps { get; set; }
        public List<MRprjFund> Funds { get; set; }
        public List<MRprjPrj> Prjs { get; set; }
        public List<MRprjSubject> Subjects { get; set; }
    }

    [Serializable]
    public class MRprjChargePer
    {
        public string ChargePerID { get; set; }
        public string ChargePerName { get; set; }
        public string LoginName { get; set; }
        public string DepartName { get; set; }
    }

    public class MRprjDep
    {
        public int DepID { get; set; }
    }

    [Serializable]
    public class MRprjFund
    {
        public int FundID { get; set; }
        public string FundName { get; set; }
        public double Amount { get; set; }
        public string AddDate { get; set; }
        public string Memo { get; set; }
    }

    [Serializable]
    public class MRprjPrj
    {
        public string PrjID { get; set; }
        public string PrjNum { get; set; }
        public string PrjName { get; set; }
    }

    public class MRprjSubject
    {
        public int RprjSubjectID { get; set; }
    }

    [Serializable]
    public class MRprjPlanSchedule
    {
        public int RprjID { get; set; }
        public int AutoNum { get; set; }
        public string ScheduleName { get; set; }
        public int? ScheduleSort { get; set; }
        public DateTime? PlanBegDate { get; set; }
        public DateTime? PlanEndDate { get; set; }
        public string PlanMemo { get; set; }
        public double FinishPercentage { get; set; }
    }

    public class MRprjActualSchedule
    {
        public int RprjID { get; set; }
        public int AutoNum { get; set; }
        public DateTime? RegDate { get; set; }
        public double Percentage { get; set; }
    }
   
    public class HcharsModel
    {
        public string name { get; set; }
        public List<object[]> data { get; set; }
    }

}
